﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PACKETPARSERMAX20.CORE
{

    public enum ClientBuild : int
    {
        v2_0_12_6646 = 6646,	//2.0.12.6646
        v2_1_0_6692 = 6692,	//2.1.0.6692
        v2_1_0_6729 = 6729,	//2.1.0.6729
        v2_1_1_6739 = 6739,	//2.1.1.6739
        v2_1_2_6803 = 6803,	//2.1.2.6803
        v2_1_3_6898 = 6898,	//2.1.3.6898
        v2_2_0_7272 = 7272,	//2.2.0.7272
        v2_2_2_7318 = 7318,	//2.2.2.7318
        v2_2_3_7359 = 7359,	//2.2.3.7359
        v2_3_0_7561 = 7561,	//2.3.0.7561
        v2_3_2_7741 = 7741,	//2.3.2.7741
        v2_3_3_7799 = 7799,	//2.3.3.7799
        v2_4_0_8089 = 8089,	//2.4.0.8089
        v2_4_1_8125 = 8125,	//2.4.1.8125
        v2_4_2_8278 = 8278,	//2.4.2.8278
        v2_4_3_8606 = 8606,	//2.4.3.8606
        v3_0_3_9183 = 9183,	//3.0.3.9183
        v3_0_8_9464 = 9464,	//3.0.8.9464
        v3_0_8_9506 = 9506,	//3.0.8.9506
        v3_0_9_9551 = 9551,	//3.0.9.9551
        v3_1_0_9767 = 9767,	//3.1.0.9767
        v3_1_1_9806 = 9806,	//3.1.1.9806
        v3_1_1_9835 = 9835,	//3.1.1.9835
        v3_1_2_9901 = 9901,	//3.1.2.9901
        v3_1_3_9947 = 9947,	//3.1.3.9947
        v3_2_0_10192 = 10192, 	//3.2.0.10192
        v3_2_0_10314 = 10314, 	//3.2.0.10192
        v3_2_2_10482 = 10482,    //3.2.2.10482
        v3_2_2_10505 = 10505,    //3.2.2.10505
        v3_3_0_10958 = 10958,//3.3.0.10958
        v3_3_0_11159 = 11159,//3.3.0.11159
        v3_3_2_11403 = 11403,//3.3.2.11403
     }
    //public enum enClientVersion : int
    //{
    //    v6546 = 6546, //2.0.12.6546
    //    v6692 = 6692, //2.1.0.6692
    //    v6729 = 6729, //2.1.0.6729
    //    v6739 = 6739, //2.1.1.6739
    //    v6803 = 6803, //2.1.2.6803
    //    v6898 = 6898, //2.1.3.6898
    //    v7272 = 7272, //2.2.0.7272
    //    v7318 = 7318, //2.2.2.7318
    //    v7359 = 7359, //2.2.3.7359
    //    v7561 = 7561, //2.3.0.7561
    //    v7741 = 7741,  //2.3.2.7741
    //    v7799 = 7799,  //2.3.3.7799
    //    v8089 = 8089,  //2.4.0.8089
    //    v8125 = 8125,  //2.4.1.8125
    //    v8278 = 8278,  //2.4.2.8278
    //    v8606 = 8606, //2.4.3.8606
    //    v9056 = 9056, //3.0.2.9056 
    //    v9183 = 9183, //3.0.3.9183 
    //    v9464 = 9464, //3.0.8.9464
    //    v9506 = 9506, //3.0.8.9506
    //    v9551 = 9551  //3.0.9.9551
    //}

    public class ClientVersion
    {
        public static System.Collections.Generic.SortedList<int, string> clientVersionList = GetClientVersionList();//new SortedList<int, string>();

        private static System.Collections.Generic.SortedList<int, string> GetClientVersionList()
        {
            System.Collections.Generic.SortedList<int, string> tList = new SortedList<int, string>();

            tList.Add(6646, "2.0.12.6646");
            tList.Add(6692, "2.1.0.6692");
            tList.Add(6729, "2.1.0.6729");
            tList.Add(6739, "2.1.1.6739");
            tList.Add(6803, "2.1.2.6803");
            tList.Add(6898, "2.1.3.6898");
            tList.Add(7272, "2.2.0.7272");
            tList.Add(7318, "2.2.2.7318");
            tList.Add(7359, "2.2.3.7359");
            tList.Add(7561, "2.3.0.7561");
            tList.Add(7741, "2.3.2.7741");
            tList.Add(7799, "2.3.3.7799");
            tList.Add(8089, "2.4.0.8089");
            tList.Add(8125, "2.4.1.8125");
            tList.Add(8278, "2.4.2.8278");
            tList.Add(8606, "2.4.3.8606");
            tList.Add(9183, "3.0.3.9183");
            tList.Add(9464, "3.0.8.9464");
            tList.Add(9506, "3.0.8.9506");
            tList.Add(9551, "3.0.9.9551");
            tList.Add(9767, "3.1.0.9767");
            tList.Add(9806, "3.1.1.9806");
            tList.Add(9835, "3.1.1.9835");
            tList.Add(9901, "3.1.2.9901");
            tList.Add(9947, "3.1.3.9947");
            tList.Add(10192, "3.2.0.10192");
            tList.Add(10314, "3.2.0.10314");
            tList.Add(10482, "3.2.2.10482");
            tList.Add(10505, "3.2.2.10505");
            tList.Add(10958, "3.3.0.10958");
            tList.Add(11159, "3.3.0.11159");
            tList.Add(11403, "3.3.2.11403");
            return tList;
        }
    }
}
